﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="projectschedual.aspx.cs" Inherits="Business_projectschedual" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>项目开启/关闭计划表</title>
    <link rel="stylesheet" type="text/css" href="../js/themes/default/easyui.css"/>
	<link rel="stylesheet" type="text/css" href="../js/themes/icon.css"/>
	<link rel="stylesheet" type="text/css" href="../CSS/Style.css"/>
    <script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
   	<script type="text/javascript" src="../js/jquery.easyui.min.js"></script>   
	<script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>  
	<script type="text/javascript">
	function clearall()
	{
	     $("#txtOpenDate").val("");
	     $("#ddlopen").val("00:00"); 
	     $("#txtCloseDate").val("");
	     $("#ddlclose").val("00:00");
	     $("#txtRemark").val("");
	    return false; 
	}
	</script>
</head>
<body>
    <form id="form1" runat="server">
   <div style="background:#efefef;width:100%;">
	   <a href="#" target="mainwin" class="easyui-linkbutton" plain="true">项目计划</a>&nbsp;&nbsp;|
       <a href="projecthistory.aspx" target="mainwin" class="easyui-linkbutton" plain="true">历史项目</a>&nbsp;&nbsp;|
       <a href="projectpaused.aspx" target="mainwin" class="easyui-linkbutton" plain="true">计划中断</a>
       <a href="../Web/viewinfo.aspx" target="mainwin" style="float:right; margin:0; padding:0;"><img alt="返回" title="返回上级" src="../Images/GetBack.png" style="border:0; margin:0; padding:0;" /></a> 
	</div>
	<center>
    <div class="curvy" style="text-align:left; margin-top:7px; width:96%;">
        <em class="ctl"><b>&bull;</b></em>
        <em class="cbl"><b>&bull;</b></em>
        <em class="ctr"><b>&bull;</b></em>
        <em class="cbr"><b>&bull;</b></em>
        <p>(1)此项功能仅限系统管理员使用，新计划会随按照时间显示在主页上，请不要随便创建一个计划。<br />
               (2)关于项目级别和项目类别，若您选择“无限制”，则教师申报时可以自己选择级别或类别，若您将其限制为某一类型，
                   即这个项目申报计划只针对某些类型的项目开放。<br />
               (3)一个项目开启计划分为两步：第一步是制定计划，第二部是分配数量，若只完成第一步则状态显示“未完成”，
              只有两部全完成才能开启计划。有错误请联系：15868887970 <br />
        </p>
    </div>	
   </center> 
    <div class="columns_container">
    <div class="columns_left">
        <div class="columns_left_padding">
	       <div class="heading_container">
	             <div class="heading_right_top">&nbsp;</div>
	             <h2>第一步->创建新项目计划</h2></div>
	       <div class="bucket_container">
	             <div class="bucket_top"><span>&nbsp;</span>&nbsp;</div>
	             <div class="bucket_content">
	               <div class="bucket_content_table">
                     <table class="bucket_content_table" cellpadding="5" cellspacing="0">
                         <tr>
                             <td>计划编号：</td>
                             <td>
                                 <asp:Label ID="labPlancode" runat="server" Text="[自动生成]"></asp:Label>
                                 <%--<asp:TextBox ID="txtplancode" runat="server"></asp:TextBox>--%>
                             </td>
                         </tr>
                         <tr>
                             <td>项目类型：</td>
                             <td>
                                 <asp:DropDownList ID="ddlType" runat="server" Width="153px">
                                 </asp:DropDownList>
                             </td>
                         </tr>
                         <tr>
                             <td>项目级别:</td>
                             <td>
                                 <asp:DropDownList ID="ddlPlevel" runat="server" Width="153px">
                                     <asp:ListItem>无限制</asp:ListItem>
                                     <asp:ListItem>校级</asp:ListItem>
                                     <asp:ListItem>省级</asp:ListItem>
                                     <asp:ListItem>国家级</asp:ListItem>
                                 </asp:DropDownList>
                             </td>
                         </tr>
                        <tr>
                          <td>项目类型:</td>
                          <td>
                              <asp:DropDownList ID="ddlPtype" runat="server" Width="153px">
                                  <asp:ListItem>无限制</asp:ListItem>
                                  <asp:ListItem>一般</asp:ListItem>
                                  <asp:ListItem>重点</asp:ListItem>
                              </asp:DropDownList></td>
                        </tr> 
                         <tr>
                          <td>
                              开启(<span style="color: #ff0000">*</span>):</td>
                          <td>
                              <input id="txtOpenDate" type="text" runat="server" onfocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true,isShowClear:false,readOnly:true,maxDate:'#F{$dp.$D(\'txtCloseDate\',{d:-1})||\'2020-10-01\'}'})" style="width: 148px" readonly="readOnly"/>
                              (年/月/日 时:分:秒)
                          </td>
                        </tr> 
                         <tr>
                          <td>
                              关闭(<span style="color: #ff0000">*</span>):</td>
                          <td>
                              <input id="txtCloseDate" type="text" runat="server" onfocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true,isShowClear:false,readOnly:true,minDate:'#F{$dp.$D(\'txtOpenDate\',{d:+1})}',maxDate:'2020-10-01'})" style="width: 148px" readonly="readOnly"/>
                              (年/月/日 时:分:秒)
                                  </td>
                        </tr> 
                         <tr>
                          <td>开启人:</td>
                          <td>
                              <asp:TextBox ID="txtOperate" runat="server"></asp:TextBox></td>
                        </tr> 
                         <tr>
                          <td>状态：</td>
                          <td>
                              <asp:Label ID="labPstatus" runat="server" Text="[未完成]" ForeColor="Red"></asp:Label></td>
                        </tr> 
                         <tr>
                          <td>备注：</td>
                          <td>
                              <asp:TextBox ID="txtRemark" runat="server" Height="80px" TextMode="MultiLine" Width="261px"></asp:TextBox></td>
                        </tr>
                        <tr><td colspan="3" style="text-align:center;">
                            <asp:ScriptManager ID="ScriptManager1" runat="server">
                            </asp:ScriptManager>
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>
                            <asp:Button ID="btnSubmit" runat="server" Text="下一步"  CssClass="btn-dy-blue" OnClick="btnSubmit_Click" OnClientClick="return check()" />
                            <input id="Button1" type="button" value="清空"  class="btn-dy-blue" onclick="return clearall()" />
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            </td></tr> 
                     </table>
                   </div> 
	           </div>
	           <div class="bucket_bottom"><span>&nbsp;</span>
	           </div>
	   </div>
    </div>
  </div>
    <div class="columns_right">
    <div class="clear" style="padding-top: 4px;"></div> 
    <div style="width:250px;">
          <div class="heading_container">
	             <div class="heading_right_top">&nbsp;</div>
	             <h2>开启/关闭日志</h2></div>
	       <div class="bucket_container">
	             <div class="bucket_content">
	            <h2 style="border-bottom:solid 2px #9FBDE5">将开启的计划：</h2>
	            <div id="recentOpen" runat="server" style="color:#11264f"></div> 
	            <h2 style="border-bottom:solid 2px #9FBDE5">已关闭的计划：</h2>
	            <div id="recentClose" runat="server" style="color:#11264f"></div> 
	              <p style="margin:0px; padding-left:5px;"><<<a>更多……</a></p>
	             </div>
	            <div class="clear"></div>
	             <div class="bucket_bottom"><span>&nbsp;</span>&nbsp;</div>
          </div> 
  </div>
    <%-- <div style="width:250px;">
            <div class="heading_container">
	             <div class="heading_right_top">&nbsp;</div>
	             <h2>计划统计</h2></div>
	       <div class="bucket_container">
	             <div class="bucket_content" id="contentCount" runat="server">
	            <h2>共有项目计划20个</h2> 
	            <h2>其中过期项目有12个</h2>
	            <h2>在执行项目有5个</h2>
	            <h2>未完成项目有3个</h2>
	             </div> 
	             <div class="bucket_bottom"><span>&nbsp;</span> 
	       </div>
     </div>  
    </div>--%>
   <div style="width:250px;">
            <div class="heading_container">
	             <div class="heading_right_top">&nbsp;</div>
	             <h2>正在执行的计划</h2></div>
	       <div class="bucket_container">
	             <div class="bucket_content">
	                <div id="nowRunning" runat="server" style="color:#1d953f"></div>
	                <p style="margin:0px; padding-left:5px;"><<<a>更多……</a></p> 
	             </div> 
	             <div class="bucket_bottom"><span>&nbsp;</span> 
	       </div>
     </div>  
    </div> 
   </div> 
   </div>
 
    </form>
</body>
</html>
